package com.information.manage.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.information.manage.model.dto.ClassifyStatisticDTO;
import com.information.manage.model.entity.AddFileDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface AddFileMapper extends BaseMapper<AddFileDO> {

    int insertList(List<? extends AddFileDO> recordList);

    Page<AddFileDO> queryPage(Page page, Integer listenFileTypeCode, Integer type, Integer status, Date createStartTime, Date createEndTime);

    List<ClassifyStatisticDTO> uploadStatistic(Integer type, Integer days);

}
